<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>规则审核 客户流转审核</title>
<link href="${rc.contextPath}/common/css/common/common.css"rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${rc.contextPath}/common/js/thickbox/jquery.js"></script>
<script type="text/javascript" src="${rc.contextPath}/common/js/thickbox/thickbox.js"></script>
<script type="text/javascript" src="${rc.contextPath}/common/js/config.js"></script>
<script type="text/javascript" src="${rc.contextPath}/common/js/main.js"></script>
</head>
<body>
<input type="hidden" id="rootPath" value="${rc.contextPath}"/>
<!-- 遮罩 -->
<div id="bg" class="bg" style="display:none;"></div>
<div class="main">
  <!--可拖动 上部分-->
  <div class="position">
    <div class="p_left">当前位置：规则审核 &lt; 客户流转审核 &lt;</div>
    <div class="p_right">
      <dl><dt>姓名：</dt><dd>${currentUser.ename}</dd></dl>
      <dl><dt>登录时间：</dt><dd><span id="nowDate"></span></dd></dl>
    </div>
  </div>
  <div class="topBox">
    <div class="mesCheck">
      <div class="title1"><strong>公共规则审核 </strong></div>
      <div class="box2C">
        <div class="tableForm">
	          <table border="0" align="center" cellpadding="0" cellspacing="0" class="tab1">
	            <tr>
	            	<td></td>
	            	<td>时间(天)</td>
	            	<td>操作</td>
	            </tr>        
	            <tr>
	            	<td>二次开发停顿期</td>
	            	<td id="cycleValue">$publicCycle.configValue</td>
	            	<td>
	            		#if($publicCycle.isUse==1)当前设置#end
	            		#if($publicCycle.isUse==0)
		            		<a href="#" onclick="checkCycle(true)">通过</a>
		            		<a href="#" onclick="checkCycle(false)">拒绝</a>
	            		#end
	            		#if($publicCycle.isUse==2)已拒绝#end
	            	</td>
	            </tr>    
	            <tr>
	            	<td>业绩保留期</td>
	            	<td>$publicPerf.configValue</td>
	            	<td>
						#if($publicPerf.isUse==1)当前设置#end
	            		#if($publicPerf.isUse==0)
		            		<a href="#" onclick="checkPerfDay(true)">通过</a>
		            		<a href="#" onclick="checkPerfDay(false)">拒绝</a>
	            		#end
	            		#if($publicPerf.isUse==2)已拒绝#end
					</td>
	            </tr>   
	            <tr>
	            	<td>产品优先级</td>
	            	<td><a href="#" onclick="priorityController(true)">查看</a></td>
	            	<td>
	            		#if($publicPriority.isUse==1)当前设置#end
	            		#if($publicPriority.isUse==0)
	            			<a href="#" onclick="checkPriority(true)">通过</a>
		            		<a href="#" onclick="checkPriority(false)">拒绝</a>
	            		#end
	            		#if($publicPriority.isUse==2)已拒绝#end
	            	</td>
	            </tr>                   
	          </table>
        </div>
        <div  class="overflow" style="overflow-x:auto ; width:100%;">
        <div class="title1"><strong>商品线规则设置 </strong></div>
        <table class="tab2">
          <tr>
            <th><input type="checkbox" name="allPick" id="allPick" onclick="pickController()"/></th>
            <th>商品类别</th>
            <th>系统推送保留期(天)</th>
            <th>人工推送保留期(天)</th>
            <th>二次开发推送停留期(天)</th>
            <th>服务开始后保护期(天)</th>
            <th>服务到期前保护期(天)</th>
            <th>服务到期后进入公海时间(天)</th>
            <th>修改时间</th>
            <th>操作</th>
          </tr>
          #foreach($config in $productConfigList)
          <tr>
            <td><input type="checkbox" name="configListBox" class="configListBox" value="复选框" id="$config.id"/></td>
            <td>$config.productName</td>
            <td>$config.sysallocationNodealholdtime</td>
            <td>$config.pushNodealholdtime</td>
            <td>$config.redevNodealholdtime</td>
            <td>$config.startServiceCycle</td>
            <td>$config.endServiceCycle</td>
            <td>$config.goOpenseaTime</td>
            <td>$config.updateDate</td>
            <td>
            	<a href="#" onclick="productCheck('$config.id',true)">同意</a>
            	<a href="#" onclick="productCheck('$config.id',false)">拒绝</a>
            </td>
          </tr>
          #end
        </table>
       </div>
       <div>
          <div class="btnOper2 btn_inline"><a href="#" onclick="productCheckBatch(true)" class="btn2"><span>通过</span></a>&nbsp;&nbsp;&nbsp;</div>
          <div class="btnOper2 btn_inline"><a href="#" onclick="productCheckBatch(false)" class="btn2"><span>拒绝</span></a>&nbsp;&nbsp;&nbsp;</div>
        </div>

        <!-- #BeginLibraryItem "/Library/page.lbi" -->
        <!-- <div class="page clearfix">
          <ul class="le">
            <li>显示<span>1-10</span></li>
            <li>共<span>20</span>条</li>
            <li><span>2</span>页</li>
          </ul>
          <ul class="ri">
            <li><a href="#" class="go">&nbsp;</a></li>
            <li>到
              <input type="text" class="input" size="4" />
              页</li>
            <li><a href="#" class="btn">[末页]</a></li>
            <li><a href="#" class="btn">[下页]</a></li>
            <li><a href="#" class="btn">[前页]</a></li>
            <li><a href="#" class="btn">[首页]</a></li>
          </ul>
        </div> -->
        <!-- #EndLibraryItem -->
      </div>
    </div>
  </div>
  <!-- 设置详情弹窗 -->
  <div id="configInfo" class="div7">
  	<table class="tab3" id="configInfoTb">
  		<tr bgcolor="#CECECE"><td> 系统推送保留期 <input type="text" style="height:19px" id="sysallocationNodealholdtime" name="sysallocationNodealholdtime" size="3"/> 天 </td></tr>
  		<tr bgcolor="#CECECE"><td> 人工推送保留期 <input type="text" style="height:19px" id="pushNodealholdtime" name="pushNodealholdtime" size="3"/> 天 </td></tr>
  		<tr bgcolor="#CECECE"><td> 服务期开始后： <input type="text" style="height:19px" id="startServiceCycle" name="startServiceCycle" size="3"/> 天进行二次开发 </td></tr>
  		<tr bgcolor="#CECECE"><td> 服务期到期前： <input type="text" style="height:19px" id="endServiceCycle" name="endServiceCycle" size="3"/> 天结束二次开发 </td></tr>
  		<tr bgcolor="#CECECE"><td> 服务期到期后： <input type="text" style="height:19px" id="goOpenseaTime" name="goOpenseaTime" size="3"/> 天进入公海 </td></tr>
  	</table>
  	<div class="btnOper2 btn_inline"><a href="#" id="flowConfigOk" class="btn2" onclick="setFlowConfig()"><span>确定</span></a>&nbsp;&nbsp;&nbsp;</div>
  	<div class="btnOper2 btn_inline"><a href="#" onclick="closeConfigDiv()" class="btn2"><span>取消</span></a>&nbsp;&nbsp;&nbsp;</div>
  </div>
  <!-- 优先级弹窗 -->
  <div id="configBatchInfo" class="div4">
  	<table id="proTb" class="tab3">
  		<tr bgcolor="#CECECE">
  			<td>产品类别</td>
  			<td>产品优先级</td>
  		</tr>
  	</table>
  	<div class="btnOper2 btn_inline"><a href="#" onclick="priorityController(false)" class="btn2"><span>返回</span></a>&nbsp;&nbsp;&nbsp;</div>
  </div>
  <!-- 优先级修改弹窗 -->
  <div id="proUpdateInfo" class="div4">
  	<table id="proUpdateTb" class="tab3">
  		<tr bgcolor="#CECECE">
  			<td>产品类别</td>
  			<td>产品优先级</td>
  			<td>操作</td>
  		</tr>
  	</table>
  	<div class="btnOper2 btn_inline"><a href="#" onclick="proUpdateController(true)" class="btn2"><span>确定</span></a>&nbsp;&nbsp;&nbsp;</div>
  	<div class="btnOper2 btn_inline"><a href="#" onclick="proUpdateController(false)" class="btn2"><span>返回</span></a>&nbsp;&nbsp;&nbsp;</div>
  </div>
  <!-- 单个分配设置详情弹窗 -->
  <div id="configAlong" class="div5">
  	<table class="tab3">
  		<tr bgcolor="#CECECE">
  			<td>二次开发停顿期： <input type="text" style="height:19px" id="middleServiceCycle" name="middleServiceCycle" size="3"/> 天</td>
  		</tr>
  	</table>
  	<div class="btnOper2 btn_inline"><a href="#" id="configOk" onclick="setMiddleServiceCycle()" class="btn2"><span>确定</span></a>&nbsp;&nbsp;&nbsp;</div>
  	<div class="btnOper2 btn_inline"><a href="#" onclick="controllerAlongConfig(false)" class="btn2"><span>取消</span></a>&nbsp;&nbsp;&nbsp;</div>
  </div>
  <!-- 提示等待div -->
  <center><div class="div6" id="waitDiv">服务器正在努力设置,喝杯茶等一下:)</div></center>
  <center><div class="div8" id="checkDiv"></div></center>
</div>
<!--可拖动 上部分end-->
<!--可拖动 下部分-->

<!--可拖动 下部分end-->
</div>
</body>
</html>
